
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>Diffraction - PanoTools.org Wiki</title>




<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>

<meta name="generator" content="MediaWiki 1.35.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>





<!--[if lt IE 9]><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Diffraction rootpage-Diffraction skin-vector action-view skin-vector-legacy">


<div id="content" class="mw-body" role="main">
	<a id="top"></a>
	
	
	<h1 id="firstHeading" class="firstHeading" lang="en">Diffraction</h1>
	<div id="bodyContent" class="mw-body-content">
		<div id="siteSub" class="noprint">From PanoTools.org Wiki</div>
		
		
		
		
		
		
		<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><p><br />
</p>
<div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" />
<ul>





</ul>
</div>

<h2><a name="What_it_is"><span class="mw-headline">What it is</span></a></h2>
<p>Diffraction in general is the bending of waves around an obstacle. In photography the light waves are bent around the edges of the aperture, causing f.e. the well known star like pattern around the sun if shot stopped down. Since diffraction affects any point of the image (not only very bright sources) it reduces general sharpness and limits effective resolution. Diffraction blurs any point to a pattern called "w:Airy disk<a class="external" href="http://www.wikipedia.org/wiki/Airy_disk">[*]</a>".
</p>
<h2><a name="Sharpness"><span class="mw-headline">Sharpness</span></a></h2>
<p>Diffraction is one of four lens based factors limiting the image sharpness. Second is aberration (f.e. <a href="Chromatic_aberration.html" title="Chromatic aberration">chromatic aberration</a>) which is determined by lens build quality. Third is de-focus or <a href="Depth_of_Field.html" title="Depth of Field">Depth of Field</a>. Fourth is motion blur due to lens shake.
</p><p>Diffraction depends only on the physical aperture size. Hence it's effect is generally larger the smaller the used sensor is due to the larger magnification of the image. That's the reason why compact cameras can't (or shouldn't) be stopped down further than f/5.6. As a rule of thumb the limit for APS-C sized sensors is f/8 to f/11 and for full frame ones f/16 to f/22, however, modern high resolution sensor can show diffraction at even lower f-numbers if zoomed in.
</p><p>You can balance <a href="Depth_of_Field.html" title="Depth of Field">Depth of Field</a> against diffraction. An approach is the sharpest aperture. <a href="Diffraction.html#External_links" title="Diffraction">See link at the bottom</a>.
</p>
<h2><a name="Resolution"><span class="mw-headline">Resolution</span></a></h2>
<p>The maximum obtainable resolution is limited by diffraction according to the Rayleigh criterion<a class="external" href="http://www.wikipedia.org/wiki/angular_resolution">[*]</a>. We can safely assume the equivalent of one pixel distance as the minimum resolvable distance required by the Rayleigh criterion. Since this criterion defines the angular resolution it can be directly used for zoomable panoramas neglecting sensor sizes etc. By simply dividing the panorama <a href="Field_of_View.html" title="Field of View">Field of View</a> (FoV) by the angular resolution we get the maximum possible pixel resolution.
</p><p>For an average value we take the wavelength of light <i>λ</i> = 550nm = 5.5*10<sup>-4</sup>mm which is in the middle of the spectrum and a color where our eyes are most sensitive. The resulting formula is:
</p>
<pre><span class="mwe-math-element"><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML"  alttext="{\displaystyle pixelresolution={\frac {FoV}{asin\left({\frac {1}{1490*D}}\right)}}}">
  <semantics>
    <mrow class="MJX-TeXAtom-ORD">
      <mstyle displaystyle="true" scriptlevel="0">
        <mi>p</mi>
        <mi>i</mi>
        <mi>x</mi>
        <mi>e</mi>
        <mi>l</mi>
        <mi>r</mi>
        <mi>e</mi>
        <mi>s</mi>
        <mi>o</mi>
        <mi>l</mi>
        <mi>u</mi>
        <mi>t</mi>
        <mi>i</mi>
        <mi>o</mi>
        <mi>n</mi>
        <mo>=</mo>
        <mrow class="MJX-TeXAtom-ORD">
          <mfrac>
            <mrow>
              <mi>F</mi>
              <mi>o</mi>
              <mi>V</mi>
            </mrow>
            <mrow>
              <mi>a</mi>
              <mi>s</mi>
              <mi>i</mi>
              <mi>n</mi>
              <mrow>
                <mo>(</mo>
                <mrow class="MJX-TeXAtom-ORD">
                  <mfrac>
                    <mn>1</mn>
                    <mrow>
                      <mn>1490</mn>
                      <mo>&#x2217;<!-- ∗ --></mo>
                      <mi>D</mi>
                    </mrow>
                  </mfrac>
                </mrow>
                <mo>)</mo>
              </mrow>
            </mrow>
          </mfrac>
        </mrow>
      </mstyle>
    </mrow>
    <annotation encoding="application/x-tex">{\displaystyle pixelresolution={\frac {FoV}{asin\left({\frac {1}{1490*D}}\right)}}}</annotation>
  </semantics>
</math></span><img src="7a52a97d85628ff81bb576d212dcae925f38f1eb.png" class="mwe-math-fallback-image-inline" aria-hidden="true" style="vertical-align: -4.505ex; margin-left: -0.089ex; width:33.627ex; height:7.843ex;" alt="{\displaystyle pixelresolution={\frac {FoV}{asin\left({\frac {1}{1490*D}}\right)}}}"/></span>
</pre>
<p><i>D</i> is the physical diameter of the lens' <a href="Entrance_pupil.html" class="mw-redirect" title="Entrance pupil">entrance pupil</a>, which is the focal length in mm divided by the f-number. The following table shows the maximum angular resolution in <b>pixels/degree</b> which is obtainable by a given focal length (vertical) and f-number (horizontal) without regard to currently available sensors for an ideal lens without aberrations:
</p>
<pre>          <b>2.8      4     5.6       8      11      16      22    32    44</b>
  <b>50</b>      464    325     232     163     118      81      59    41    30
 <b>100</b>      929    650     464     325     236     163     118    81    59
 <b>200</b>    1,858  1,300     929     650     473     325     236   163   118
 <b>400</b>    3,715  2,601   1,858   1,300     946     650     473   325   236
 <b>800</b>    7,430  5,201   3,715   2,601   1,891   1,300     946   650   473
<b>1200</b>   11,145  7,802   5,573   3,901   2,837   1,950   1,418   975   709
</pre>
<p>Some usage examples
</p>
<ul><li>You want to shoot a gigapixel panorama of 175° width with a 800mm lens at f/11. You get 175*1,891 = 330,925 pixel maximum horizontal resolution.</li>
<li>You will use an APS-C format sensor in portrait orientation for this panorama. A 800mm lens has a FoV of 1.1° in that case, which at f/11 gives 2080 pixels or app. 6 megapixels. Applying the 70% rule to compensate for bayer interpolation blur indicates that 12 megapixels per image are enough.</li></ul>
<h3><a name="Wide_angle"><span class="mw-headline">Wide angle</span></a></h3>
<p>Although the above formula is applicable to wide angle and <a href="Fisheye.html" class="mw-redirect" title="Fisheye">fisheye</a> lenses as well it is harder to give correct values. Most DSLR wide angle and fisheye lenses change the entrance pupil diameter depending from the angle of incidence. This is intended and serves as a mechanism to compensate for natural <a href="Vignetting.html" title="Vignetting">vignetting</a>.
</p><p>However, diffraction is an issue for those lenses, too. For a comparison of two widely used fisheyes see <a href="Diffraction.html#External_links" title="Diffraction">link at the bottom</a>.
</p>
<h2><a name="Caveats"><span class="mw-headline">Caveats</span></a></h2>
<p>Unfortunately most lenses are diffraction limited at small apertures only. Since most lens aberrations get better the further you stop down, it might be that shooting wide open gives you worse results than fully stopped down. Hence the real sharpest aperture of a particular lens must be determined by experiment.
</p><p>Other factors (lens shake, atmospheric scintillation, sensor noise, haze etc.) reduce resolution and sharpness even further, hence the above values will seldom be reached.
</p>
<h2><a name="External_links"><span class="mw-headline">External links</span></a></h2>
<ul><li>wikipedia on Diffraction<a class="external" href="http://www.wikipedia.org/wiki/Diffraction">[*]</a></li>
<li>wikipedia on Angular resolution<a class="external" href="http://www.wikipedia.org/wiki/Angular_resolution">[*]</a></li>
<li><a rel="nofollow" class="external text" href="http://www.kenrockwell.com/tech/focus.htm">Ken Rockwell's page</a> on Selecting the Sharpest Aperture</li>
<li><a rel="nofollow" class="external text" href="http://www.kenrockwell.com/zenit/zenitar-16mm.htm#sharp">Ken Rockwell's page</a> with a sharpness comparison of the Zenitar 16mm and Nikkor 10.5mm fisheye lenses at different aperture.</li>
<li>A very extensive article about resolution limits on <a rel="nofollow" class="external text" href="http://www.luminous-landscape.com/tutorials/resolution.shtml">Luminous Landscape</a> containing many valuable links.</li></ul>

<!--
Transclusion expansion time report (%,ms,calls,template)
100.00%   12.756      1 Template:Glossary
100.00%   12.756      1 -total
-->


</div></div><div class="printfooter">Retrieved from "<a dir="ltr" href="https://wiki.panotools.org/index.php?title=Diffraction&amp;oldid=15719">https://wiki.panotools.org/index.php?title=Diffraction&amp;oldid=15719</a>"</div>
		</div></div></body></html>